import 'package:flutter/cupertino.dart';
import 'package:flutter_repo/chapter06/unit10/custom_scroll/error_demo_page.dart';
import 'package:flutter_repo/chapter06/unit10/custom_scroll/success_demo_page.dart';
import 'package:flutter_repo/widgets/cell.dart';

class CustomScrollPage extends StatelessWidget {
  const CustomScrollPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return ListView(
      children: [
        const Cell(title: "Error demo page", routePage: ErrorDemoPage(),),
        Cell(title: "Success demo page", routePage: SuccessDemoPage(),),
      ],
    );
  }
}